<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>增加班级信息</title>
</head>
<body style="width:1024px;margin:auto;">
	<header th:replace="@{/common}::header"></header>
	<form method="post" th:action="@{/classes/classes}" style="text-align:center">
		<h1 align="center">填写班级信息</h1>
		<div>班级名称<input type="text" name="name"></input></div>
		<div>所属院校
			<select name="college">
				<option th:each="c:${colleges}" th:value="${c.id}" th:text="${c.name}"></option >
			</select>
		</div>
		<div>相关描述<input type="text" name="describe"></input></div>
		<input type="submit" >
	</form>
		<p th:text="${error}" style="color:red;align:cener;"></p>
		<footer th:replace="@{/common}::footer"></footer>
</body>
</html>